
var ws = require("ws");

const Client = new ws("ws://127.0.0.1:3900");

Client.onclose = () => {

}
Client.onopen = () => {
    Client.send(Buffer.alloc(10));
}
Client.onerror = () => {

}
Client.onmessage = (data) => {
    console.log(data);
}

Client.onclose = () => {

}